package com.hl.domain;

import java.math.BigDecimal;
import java.sql.Time;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 活动商品对象 activity_product
 *
 * @author vv
 * @date 2025-08-08
 */
public class ActivityProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;

    /** 商品ID */
    @Excel(name = "商品ID")
    private String productId;

    /** 活动ID */
    @Excel(name = "活动ID")
    private String activityId;
    /** 活动场次ID */
    @Excel(name = "活动场次ID")
    private String activitySessionId;
    /** 活动时间 */
    @Excel(name = "活动时间")
    private Time timeSegment;

    public Time getTimeSegment() {
        return timeSegment;
    }

    public void setTimeSegment(Time timeSegment) {
        this.timeSegment = timeSegment;
    }

    /** 活动价格 */
    @Excel(name = "活动价格")
    private BigDecimal activityPrice;

    /** 活动库存 */
    @Excel(name = "活动库存")
    private Integer activityStock;

    /** 商品名称（关联查询） */
    @Excel(name = "商品名称")
    private String productName;

    /** 原价（关联查询） */
    @Excel(name = "原价")
    private BigDecimal originalPrice;

    /** 商品库存（关联查询） */
    @Excel(name = "商品库存")
    private Integer stock;

    /** 店铺ID（关联查询） */
    @Excel(name = "店铺ID")
    private String shopId;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }

    public void setProductId(String productId)
    {
        this.productId = productId;
    }

    public String getProductId()
    {
        return productId;
    }

    public void setActivityId(String activityId)
    {
        this.activityId = activityId;
    }

    public String getActivityId()
    {
        return activityId;
    }

    public void setActivitySessionId(String activitySessionId)
    {
        this.activitySessionId = activitySessionId;
    }

    public String getActivitySessionId()
    {
        return activitySessionId;
    }

    public void setActivityPrice(BigDecimal activityPrice)
    {
        this.activityPrice = activityPrice;
    }

    public BigDecimal getActivityPrice()
    {
        return activityPrice;
    }

    public void setActivityStock(Integer activityStock)
    {
        this.activityStock = activityStock;
    }

    public Integer getActivityStock()
    {
        return activityStock;
    }

    public void setProductName(String productName)
    {
        this.productName = productName;
    }

    public String getProductName()
    {
        return productName;
    }

    public void setOriginalPrice(BigDecimal originalPrice)
    {
        this.originalPrice = originalPrice;
    }

    public BigDecimal getOriginalPrice()
    {
        return originalPrice;
    }

    public void setStock(Integer stock)
    {
        this.stock = stock;
    }

    public Integer getStock()
    {
        return stock;
    }

    public void setShopId(String shopId)
    {
        this.shopId = shopId;
    }

    public String getShopId()
    {
        return shopId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("productId", getProductId())
                .append("activityId", getActivityId())
                .append("activitySessionId", getActivitySessionId())
                .append("activityPrice", getActivityPrice())
                .append("activityStock", getActivityStock())
                .append("productName", getProductName())
                .append("originalPrice", getOriginalPrice())
                .append("stock", getStock())
                .append("shopId", getShopId())
                .toString();
    }
}